package com.example.dto.business;

import com.example.pojo.PetPhoto;
import lombok.Data;
import lombok.ToString;

/**
 * @author LeXin Huang
 * @date 2021年04月22日 22:33
 */
@Data
@ToString
public class PetPhotoBusinessDTO {
    private Integer petPhotoId;

    private String petPhotoUrl;

    public PetPhotoBusinessDTO(PetPhoto petPhoto) {
        this.petPhotoId = petPhoto.getId();
        this.petPhotoUrl = petPhoto.getPhotoUrl();
    }
}
